<!DOCTYPE html>
<html lang="en">
<head>
<title>Pencil Cms</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="./favicon.ico">

<{*系统样式*}>
<link rel="stylesheet" href="<{$template_dir}>admin/css/css.css" />



<link rel="stylesheet" href="<{$template_dir}>admin/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="<{$template_dir}>admin/css/matrix-style.css" />
<link rel="stylesheet" href="<{$template_dir}>admin/css/matrix-media.css" />
<{*图标样式*}>
<link href="<{$template_dir}>/admin/css/css/font-awesome.css" rel="stylesheet" />
<{*layui样式*}>
<link rel="stylesheet" href="<{$include_dir}>js/layui/css/layui.css" />

<link rel="stylesheet" href="<{$include_dir}>js/layui/css/global.css" />

<link rel="stylesheet" href="<{$include_dir}>js/layui/css/font-awesome.min.css" />
<{*下拉菜单和单选多选样式*}>
<link rel="stylesheet" href="<{$template_dir}>admin/css/uniform.css" />
<script src="<{$template_dir}>admin/js/jquery-1.7.2.js"></script>

<{*layui.js*}>
<script src="<{$include_dir}>js/layui/layui.js"></script>
<script>

layui.use(['layer', 'element'], function(){
  var element = layui.element();
  var layer = layui.layer;
  
 
});



</script>
<script>

$(function(){
	
	 $("#cms_info").click(function(){
		
		layer.open({
		  title: 'Cms Info'
		  ,content: 'Zpy`s Cms<br>  Author  :  Zpy<br> Blog  :  <a style="color:blue" href="http://www.zhoupengyu.cn">www.zhoupengyu.cn</a><br>Core  :  <a style="color:blue" href="http://www.61php.com">61PHP</a>'
		});     
  
	})	

})

</script>

<style>
.is_select{
	color:#58eeff;
}

</style>
</head>
<body>

<!--Header-part-->

<div class="layui-layout layui-layout-admin">
   
<div class="layui-header header header-demo">
				<!--<div class="layui-main">
					<a class="logo" style="left: 0;" href="http://beginner.zhengjinfan.cn/demo/beginner_admin/">
						<span style="font-size: 22px;">Welcome</span>
					</a>
					<ul class="layui-nav">
						<li class="layui-nav-item">
							<a href="index.php?m=admin&t=adminPass">修改密码</a>
						</li>
						<li class="layui-nav-item">
							<a href="index.php?m=admin&t=system" >设定</a>
						</li>
						<li class="layui-nav-item">
							<a href="javascript:;" class="admin-header-user">
								<img src="images/0.jpg" style="width: 40px; height: 40px; border-radius: 100%;">
								<span>beginner</span>
							<span class="layui-nav-more"></span></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="index.php?m=admin&t=adminPass"><i class="fa fa-user-circle" aria-hidden="true"></i> 修改密码</a>
								</dd>
								<dd>
									<a href="javascript:;"><i class="fa fa-gear" aria-hidden="true"></i> 设置</a>
								</dd>
								<dd>
									<a href="login.html"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
								</dd>
							</dl>
						</li>
					<span class="layui-nav-bar"></span></ul>
				</div>-->
      <a class="logo" style="left: 20px;" href="index.php?m=admin&t=main">
        <span style="font-size: 22px;">Welcome</span>
      </a>          
                
     <ul class="layui-nav">
          <li class="layui-nav-item">
            <a  target="_blank" href="index.php">网站首页</a>
          </li>
      <li class="layui-nav-item">
        <a href="index.php?m=admin&t=adminPass">修改密码</a>
      </li>
      <li class="layui-nav-item">
            <a href="index.php?m=admin&t=system" >设定</a>
        </li>
        <li class="layui-nav-item" style='    margin-right: 30px;'>
            <a href="javascript:;" class="admin-header-user">
                <img src="<{$template_dir}>admin/images/header_img.png" style="width: 40px; height: 40px; border-radius: 100%;">
                <span><{$smarty.session.user_root.user_name}></span>
            <span class="layui-nav-more"></span></a>
            <dl class="layui-nav-child">
                <dd style='line-height: 35px;'>
                    <a href="index.php?m=admin&t=adminPass"><i class="icon-user" aria-hidden="true" style='margin-left: -5px;'></i> 修改密码</a>
                </dd>
                <dd style='line-height: 35px;'>
                    <a href="index.php?m=admin&t=system"><i class="fa fa-gear" aria-hidden="true"></i> 设置</a>
                </dd>
                <dd style='line-height: 35px;'>
                    <a href="index.php?m=admin&t=logOut"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
                </dd>
            </dl>
        </li>
    </ul>
</div>

<div class="layui-side layui-bg-black">
	<div class="layui-side-scroll">
        <ul class="layui-nav layui-nav-tree">
            <{foreach $menu as $k=>$v}>
            <li class="layui-nav-item  <{if $v.is_select}>layui-nav-itemed<{/if}>">
             <a href="#"><i class="<{$v.icon}>"></i><{$v.title}></a>
              <dl class="layui-nav-child">
                <{foreach $v.menu as $key=>$val}>
                    <dd <{if $val.is_select}>class='layui-this'<{/if}> ><a  href="<{$val.url}>"><i class="<{$val.icon}>"></i><{$val.title}></a></dd>
                <{/foreach}>
               </dl>
            </li>
            <{/foreach}>
        </ul>
        <div id='cms_info' style="line-height: 28px; width: 122px; height: 28px;position: fixed; z-index: 1; bottom: 0; left: 28px; cursor: help;">
        
        	2016 © Pencil Cms
        </div>
	</div>
  
</div>
<div class="layui-body" style="bottom: 0;">

	<{include file=$main_show_block}>
</div>






</div>
</body>
</html>
